﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using cbmobile.BLC;

namespace cbmobile
{
    public partial class WebForm1 : System.Web.UI.Page
    {
        BLC_TinTuc nBLC = new BLC_TinTuc();
        protected void Page_Load(object sender, EventArgs e)
        {
            BindNews();
        }
        private void BindNews()
        {
            DataTable dt = nBLC.Get_Top_News();
            ddlNews.DataSource = dt;
            ddlNews.DataBind();
        }
    }
}